package com.link2room.aeriabots.thread;

/**
 * Created by LN on 2016/9/7.
 */
public class TaskResult {
    private Integer resultCode;
    private String resultMessage;
    private Exception e;

    public Exception getException() {
        return e;
    }

    public void setException(Exception e) {
        this.e = e;
    }

    public final static int SUCCESS = 0;
    public final static int ERROR = 1;

    public String getResultMessage() {
        return resultMessage;
    }

    public void setResultMessage(String resultMessage) {
        this.resultMessage = resultMessage;
    }

    public Integer getResultCode() {
        return resultCode;
    }

    public void setResultCode(Integer resultCode) {
        this.resultCode = resultCode;
    }
}
